/*
 * @Author: zhouwei wei.zhou@flip.fun
 * @Date: 2024-04-10 00:05:14
 * @LastEditors: zhouwei wei.zhou@flip.fun
 * @LastEditTime: 2024-04-10 15:56:48
 * @FilePath: /50/手撕系列/shoujihao.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
function shou() {
	let tel = 18877776666
	tel = '' + tel
	var reg = /(\d{3})\d{4}(\d{4})/
	var tel1 = tel.replace(reg, '$1****$2')
	console.log(tel1)
    return tel1
}
shou()